/*****************************************************
**Copyright(C), 2021-2022, Ciqtek Technology.
**Version:     1.0
**Author:      11575
**Date:        2023/12/12
**Description: 
*****************************************************/

#ifndef MYSQLDATABASE_H
#define MYSQLDATABASE_H

#include <QObject>
#include <QSqlDatabase>
#include <QSqlError>

class MySqlDatabase : public QObject
{
	Q_OBJECT

public:
	/**
	 * @brief   MySqlDatabase 构造函数
	 * @param   
	 * @return  
	 */
	explicit MySqlDatabase(QObject *parent = nullptr);
	
	/**
	 * @brief   
	 * @param   
	 * @return  
	 */
	~MySqlDatabase();

private:
	QSqlDatabase  m_database;
};

#endif // MYSQLDATABASE_H